/**
 * 
 */
package com.gcgt.shared.trader;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Vincentas
 * 
 */
public class TradingParameters implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -9200944370669047337L;

	private Date startDate = new Date();

	private Date endDate = new Date();

	private BigDecimal cash = BigDecimal.ZERO;

	private BigDecimal depositPercent = BigDecimal.ZERO;

	private int days = 0;

	private BigDecimal maxLossPercent = BigDecimal.ZERO;;

	private BigDecimal commision = BigDecimal.ZERO;;

	/**
	 * @return the cash
	 */
	public BigDecimal getCash() {
		return cash;
	}

	/**
	 * @param cash
	 *            the cash to set
	 */
	public void setCash(BigDecimal cash) {
		this.cash = cash;
	}

	/**
	 * @return the depositPercent
	 */
	public BigDecimal getDepositPercent() {
		return depositPercent;
	}

	/**
	 * @param depositPercent
	 *            the depositPercent to set
	 */
	public void setDepositPercent(BigDecimal depositPercent) {
		this.depositPercent = depositPercent;
	}

	/**
	 * @return the days
	 */
	public int getDays() {
		return days;
	}

	/**
	 * @param days
	 *            the days to set
	 */
	public void setDays(int days) {
		this.days = days;
	}

	/**
	 * @return the maxLossPercent
	 */
	public BigDecimal getMaxLossPercent() {
		return maxLossPercent;
	}

	/**
	 * @param maxLossPercent
	 *            the maxLossPercent to set
	 */
	public void setMaxLossPercent(BigDecimal maxLossPercent) {
		this.maxLossPercent = maxLossPercent;
	}

	/**
	 * @return the commision
	 */
	public BigDecimal getCommision() {
		return commision;
	}

	/**
	 * @param commision
	 *            the commision to set
	 */
	public void setCommision(BigDecimal commision) {
		this.commision = commision;
	}

	/**
	 * @return the startDate
	 */
	public Date getStartDate() {
		return startDate;
	}

	/**
	 * @param startDate
	 *            the startDate to set
	 */
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	/**
	 * @return the endDate
	 */
	public Date getEndDate() {
		return endDate;
	}

	/**
	 * @param endDate
	 *            the endDate to set
	 */
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

}
